<template>
  <div id="storeRollbag" :style="{
        borderRadius:styles.circle+'px',
        marginTop:styles.marginTop+'px',
       marginBottom:styles.marginBottom+'px',
        marginLeft:styles.marginLR+'px',
        marginRight:styles.marginLR+'px',
        backgroundColor:styles.colorBg,}">
    <div class="divtitle">
      <p class="titles">{{styles.title}}</p>
<!--      <div class="more">更多></div>-->
    </div>
    <div class="discount-list cou5 cou8 p253 p-r bf bs20 f24 f-y-c mb20">
      <div class="cou5l mr20 p-r">
        <div class="imglogo">
          <img src="../../../assets/img/qb.png" style="width: 100%;height: 100%"/>
        </div>
        <div class="p-a t0 wh f-c-c cf lh1">
          <div class=""><span>￥</span><span class="f50 ml5 mr10">15</span></div>
          <div class="f22 mt5">代金券</div>
        </div>
      </div>
      <div class="cou8m f-1 f-c-xc">
        <div class="f-y-c">
          <div class="cou8zs bs10 f20 mr20">5张</div>
          <div class="c0 f30 f-1 t-o-e">券包活动</div>
        </div>
        <div class="c9 mt10 f22">
          <span class="cqb f24">￥</span>
          <span class="cqb f32">15</span>
          <span class="t-d-l">￥50</span>
          <span class="qbzkc ml10">3折</span>
        </div>
      </div>
      <div class="f-c-c cou5r f-g-0">
        <el-button plain size="mini">去抢购</el-button>
<!--        <el-button class="cf cou5lq bs15 f-c clearbtn">去抢购</el-button>-->
      </div>
    </div>
  </div>
</template>
<script>
import { mapState, mapMutations } from "vuex";
export default {
  name: "information",
  data() {
    return {
      img: require("../../../assets/img/blank.png"),
    };
  },
  props: ["styles"],
};
</script>
<style lang='less' scoped>
#storeRollbag{
  background-color: #FB6F3E;
  padding: 10px;
  .p-r{
    position: relative;
  }
  .p-a{
    position: absolute;
  }
  .mr20{
    margin-right: 20px;
  }
  .t0 {
    top: 0;
  }
  .wh {
    width: 100%;
    height: 100%;
  }
  .f-c-c {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .f-1 {
    flex: 1;
    min-width: 0;
  }
  .f-g-1 {
    min-width: 0;
    flex-grow: 1;
    flex-shrink: 1;
  }
  .f-g-0 {
    min-width: 0;
    flex-grow: 0;
    flex-shrink: 0;
  }

  .f-c-xc {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .f-y-c {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
  }
  .c9 {
    color: #999;
  }
  .mt10 {
    margin-top: 10px;
  }
  .cf {
    color: #fff;
  }
  .lh1 {
    line-height: 1;
  }
  .f50 {
    font-size: 18px;
  }
  .f22 {
    font-size: 14px;
  }
  .mt5{
    margin-top: 5px;
  }
  .ml5 {
    margin-left: 5px;
  }
  .mr10 {
    margin-right: 10px;
  }
  .p253 {
    padding: 5px 10px;
  }
  .f24 {
    font-size: 12px;
  }
  .f-y-c {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
  }
  .t-d-l {
    text-decoration: line-through;
  }
  .mb20 {
    margin-bottom: 20px;
  }
  .bf{
    background: #fff;
  }
  .bs20 {
    border-radius: 10px;
    overflow: hidden;
  }
  .bs10 {
    border-radius: 5px;
    overflow: hidden;
  }
  .mr20 {
    margin-right: 10px;
  }
  .t-o-e {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .divtitle{
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .titles {
    color: #fff;
    font-size: 16px;
    margin-left: 10px;
    font-weight: bold;
  }
  .discount-list{
    margin-top: 5px;
    .imglogo{
      width: 70px;
      height: 50px;
    }
    .cou5l {
      width: 70px;
      height: 50px;
    }
  }
  .cou5 {

    .cou5l {
      width: 70px;
      height: 50px;
    }

    .cou5r {
      margin-left: 10px;
    }

    height: 87px;

    .cou5lq {
      background: linear-gradient(90deg, #FF876F, #FF654D);
      min-width: 116px;
      height: 56px;
    }

    .cou5ylq {
      width: 125px;
      height: 125px;
      bottom: -20px;
      right: 0;
    }
  }
  .cou8 {
    .bgimg {
      width: 100%;
      height: 140px
    }

    .cqb {
      color: #7A4A1A;
    }

    .cou8m {
      border-right: 1px dashed #e2e2e2;
      padding-right: 20px;
    }

    .cou8zs {
      background: #F2D287;
      color: #7B4B1B;
      padding: 2px 10px;
    }

    .cou5lq {
      background: #F2D287;
      color: #7B4B1B;
    }

    .qbzkc {
      border: 0.5px solid #F7EAC6;
      color: #7B4B1B;
      padding: 2px 6px;
      border-radius: 4px;
    }
  }
}
</style>
